package org.ww.common.constant;

/**
 * @program: gmall
 * @description:
 * @author: ww
 * @create: 2024-10-31 16:07
 **/

public class RabbitMqConstant {

    //--------------------order--------------------
    public static final String ORDER_DELAY_QUEUE = "order.delay.queue";

    public static final String ORDER_RELEASE_ORDER_QUEUE = "order.release.order.queue";

    public static final String ORDER_EVENT_EXCHANGE = "order.event.exchange";

    public static final String ORDER_CREATE_ORDER_BINDING = "order.create.order";

    public static final String ORDER_RELEASE_ORDER_BINDING = "order.release.order";

    public static final String ORDER_RELEASE_OTHER_BINDING = "order.release.other.#";

    //-------------------stocklock------------------
    public static final String STOCK_EVENT_EXCHANGE = "stock-event-exchange";

    public static final String STOCK_DELAY_QUEUE = "stock.delay.queue";

    public static final String STOCK_RELEASE_STOCK_QUEUE = "stock.release.stock.queue";

    public static final String STOCK_LOCKED_BINDING = "stock.locked";

    public static final String STOCK_RELEASE_BINDING = "stock.release.#";

    //-------------------orderSeckill------------------
    public static final String ORDER_SECKILL_ORDER_QUEUE = "order.seckill.order.queue";

    public static final String ORDER_SECKILL_ORDER_BINDING = "order.seckill.order";
}
